<script type="text/ecmascript-6">
  import Navbar from '../../components/base/navbar.vue';
  export default{
      name:"coach_sign_list",
      components:{
          Navbar
      },
      data(){
          return {
              tabList:[
                {
                  id:'signed',
                  name:"已签到",
                },
                {
                  id:'unsigned',
                  name:"进行中"
                }
              ],
              myID:this.$route.params.id,
              heights:"100%",
              isDrag:false,
              tabIndex:0
          }
      },
      methods:{
          jump_member(id){
              this.$router.push({name:"member",params:{id:id}});
          }
      },
      created(){
          this.$store.dispatch('querySignList',this.myID);
      },
      computed:{
         list:{
             get(){
                 return this.$store.getters.getSignList
             }
         }
      }
  }
</script>
